<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
</head>
<body>
<!--/*@thymesVar id="Header" type="com.weirong.smartvault.backservice.controller.fragment_entity.Header"*/-->
<div th:fragment="menu">
    <nav class="navbar navbar-default" role="navigation" style="margin-bottom: 10px;" th:fragment="menubar">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01">
                <span class="sr-only">Toggle navigation</span>
            </button>
            <a class="navbar-brand" th:href="@{/}">智能金库外币管理系统</a>
        </div>
        <div class="collapse navbar-collapse" id="navbar-collapse-01">
            <ul class="nav navbar-nav" th:if="${Header}">
                <li  th:each="menu,iterStat: ${Header.getMenuList()}"  th:class="${menu.getSelected()}? 'active' : ''"
                    style="padding-right: 10px;">
                    <div class="btn-group" style="padding-top: 7px;">
                        <button th:utext="${menu.getName()+menu.getSpan()}" th:class="${menu.getSelected()}? 'btn btn-success btn-info dropdown-toggle':'btn btn-info dropdown-toggle'" type="button"
                                data-toggle="dropdown"
                                style="padding-left: 10px;padding-right: 10px;padding-top: 7px;padding-bottom: 7px;">
                            基础数据 <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu" role="menu">
                            <li th:each="sub,iterStat: ${menu.getSubMenus()}"><a th:href="${sub.getUrl()}"
                                                                                 th:text="${sub.getName()}">数据字典</a>
                            </li>
                        </ul>
                    </div>
                </li>

            </ul>
        </div><!-- /.navbar-collapse -->
    </nav><!-- /navbar -->
    <div>
        <ol class="breadcrumb"  th:if="${Header}" style="margin-bottom: 5px;">
            <!--/*@thymesVar id="Header" type="com.weirong.smartvault.backservice.controller.fragment_entity.Header"*/-->
            <li th:each="path,iterStat:${Header.getNowPath()}"><a th:text="${path.getName()}" th:class="${iterStat.index+1==iterStat.size}?'active':''" >指令管理</a></li>
        </ol>
    </div>
</div>
</body>
</html>
